Skip to content

TSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility - #19

Merged
kulsumansari-cstk merged 1 commit into
mainfrom
hotfix/tsond850
Jul 24, 2026
Merged

TSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility#19
kulsumansari-cstk merged 1 commit into
mainfrom
hotfix/tsond850

Conversation

@tusharmittal-cstk

Copy link
Copy Markdown
Contributor

Context

DX-9464 changed global fields export from a single bulk-array file (globalfields.json) to individual per-uid files ({uid}.json). The 4 official seed repos still ship the old bulk-array format, which breaks the seed command's import flow — specifically readGlobalFieldSchemas reads the array as a single element, .uid is undefined, and the SDK never assigns .fetch, causing a TypeError: .fetch is not a function at import time.

Changes:

  1. Added individual {uid}.json files alongside the existing globalfields.json in stack/global_fields/
  2. Keep globalfields.json intact (backward compat)
  3. Cut a new release so the seed command picks up the updated tarball

Per-uid file format

Each file is a plain JSON object matching the global field schema:

{
  "title": "Card",
  "uid": "card",
  "description": "",
  "schema": [...]
}

@tusharmittal-cstk tusharmittal-cstk self-assigned this Jul 24, 2026
@tusharmittal-cstk
tusharmittal-cstk requested a review from a team as a code owner July 24, 2026 11:20
@tusharmittal-cstk tusharmittal-cstk added the enhancement New feature or request label Jul 24, 2026
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@kulsumansari-cstk kulsumansari-cstk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@srushtioza srushtioza left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve from my end

@kulsumansari-cstk
kulsumansari-cstk merged commit 40e45d1 into main Jul 24, 2026
5 checks passed
@tusharmittal-cstk tusharmittal-cstk changed the title TSOND-850 | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility TSOND-850 | Hotfix Updated compass starter app repo to per-uid global field format for DX-9464 compatibility Jul 24, 2026
@tusharmittal-cstk tusharmittal-cstk changed the title TSOND-850 | Hotfix Updated compass starter app repo to per-uid global field format for DX-9464 compatibility TSOND-850 | Hotfix | Updated compass starter app repo to per-uid global field format for DX-9464 compatibility Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants